<?php
$atr_frm = array('class'=>'form-signin', 'id'=>'login_poll');
$atr_inp = array('class'=>'input-block-level', 'id'=>'id_sucursal','type'=>'text', 'name'=>'id_sucursal');
$atr_btn = array('class'=>'btn btn-large btn-warning', 'id'=>'login_poll', 'name' => 'enviar', 'value' => 'Ingresar');
echo form_open('login/sucursal_control',$atr_frm);
echo form_fieldset('<h2>Ingrese Código de Sucursal</h2>');
?>
    <div class="input-append">
        <?php echo form_input($atr_inp);
        echo form_submit($atr_btn);
        ?>
    </div>
<?php
echo form_fieldset_close();
if(!empty($error)): echo '<p class="text-error">'.$error.'</p>' ;endif;
echo form_close();
    